#include "StdAfx.h"
#include "defcmnd.h"
#include "defender.h"		//for port definitions
#include "machine/defendermachine.h"

static highscore_t highscore[] =
	{
	//{0xB260,0x60,0x00,0x48},
	{0,-1}
	};

Cdefcmnd::Cdefcmnd()
{
SetName("defcmnd");						//set romset name
SetScreen(304,256);
SetHighScoreInfo(highscore);
SetPort(0,&defenderPort1);
SetPort(1,&defenderPort2);
SetPort(2,&defenderPort3);
AddROM("defcmnda.1",		0x0D000,0x1000,0x68effc1d,ROM_CPU1);
AddROM("defcmnda.2",		0x0E000,0x1000,0x1126adc9,ROM_CPU1);
AddROM("defcmnda.3",		0x0F000,0x1000,0x7340209d,ROM_CPU1);
AddROM("defcmnda.10",	0x10000,0x0800,0x3dddae75,ROM_CPU1);
AddROM("defcmnda.7",		0x10800,0x0800,0x3f1e7cf8,ROM_CPU1);
AddROM("defcmnda.9",		0x11000,0x0800,0x8882e1ff,ROM_CPU1);
AddROM("defcmnda.6",		0x11800,0x0800,0xd068f0c5,ROM_CPU1);
AddROM("defcmnda.8",		0x12000,0x0800,0xfef4cb77,ROM_CPU1);
AddROM("defcmnda.5",		0x12800,0x0800,0x49b50b40,ROM_CPU1);
AddROM("defcmnda.4",		0x16000,0x0800,0x43d42a1b,ROM_CPU1);
AddROM("defcmnda.snd",	0x0F800,0x0800,0xf122d9c9,ROM_CPU2);
}

CMachine *Cdefcmnd::CreateMachine()
{
return(new CDefenderMachine());
}
